How to put .gif image using java script
[quote="panzer":1b2pcfcl]You *may* be able to try something like
[code:1b2pcfcl]
function validateField() {
var docs = document.getElementById("img");
docs.setAttribute("src", "gif_path");
... // other code
}
[/code:1b2pcfcl]
[code:1b2pcfcl]
<body>
...
<img id="img" src='#'>
...
</body>
[/code:1b2pcfcl][/quote:1b2pcfcl]
Thanks a lot panzer , It worked , successfully , Thanks a lot for ur help
but it is showing a square box by default and when the upload button is clicked the .gif image is displayed , I dont need that square box .
i got the solution , but is there any way to remove the square box . Thanks
[/img]